package com.cloudpan.common;

import lombok.Getter;

/**
 * @Author 原野
 * @DATE 2023/11/10 11:27
 * @Description:
 * @Version 1.0
 */
@Getter
public enum ResultCodeMsg {

    SUCCESS(20000,"请求成功"),
    FAIL(20001,"请求失败"),

    ACCOUNT_DISABLE(1,"你的账号已被禁用,无法使用"),
    ACCOUNT_CODE_ERROR(2,"验证码错误,请重新输入"),
    ACCOUNT_PHONE_NULL(3,"用户手机号不存在"),
    ACCOUNT_ORIGINAL_PASSOWRD_ERROR(4,"原密码输入错误,请重新输入"),
    ACCOUNT_PASSWORD_VAILD_TWICE(5,"两次密码输入不一致,请重新输入"),
    ACCOUNT_PASSWORD_ERROR(6,"密码错误,请重新输入"),
    ACCOUNT_NUMBER_ERROR(7,"账号错误,请重新输入")
    ;

    private final Integer code;
    private final String msg;

    ResultCodeMsg(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
